home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-12-02 | 1.2 KB | 48 lines | [TEXT/MMCC] |
- /*
- File: MathComponentCommon.h
-
- Contains: Math component routines (also used by MoMath component).
-
- Written by: Gary Woodcock
-
- Copyright: © 1992 by Apple Computer, Inc.
-
- Change History (most recent first):
-
- */
-
- //-----------------------------------------------------------------------
- // Includes
-
- #ifndef _MATHCOMPONENTCOMMON_
- #define _MATHCOMPONENTCOMMON_
-
- #include <QuickTimeComponents.h>
-
- //-----------------------------------------------------------------------
- // Prototypes
-
- pascal ComponentResult MathOpen (ComponentInstance self);
-
- pascal ComponentResult MathClose (Handle storage,
- ComponentInstance self);
-
- pascal ComponentResult MathCanDo (short selector);
-
- pascal ComponentResult MathVersion (void);
-
- pascal ComponentResult MathTarget (Handle storage,
- ComponentInstance capturingComponent);
-
- pascal ComponentResult MathDoDivide (short numerator,
- short denominator,
- short *quotient);
-
- pascal ComponentResult MathDoMultiply (short firstNum,
- short secondNum,
- short *multiplicationResult);
-
- #endif _MATHCOMPONENTCOMMON_
-
- //-----------------------------------------------------------------------
-